package com.longkier.gx_library_springboot.repository;

import com.longkier.gx_library_springboot.entity.LibraryArea;
import org.jetbrains.annotations.NotNull;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface AreaRepository extends JpaRepository<LibraryArea, Long> {
    @NotNull Optional<LibraryArea> findById(@NotNull Long id);
}
